home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / utilities / u222.dms / in.adf / mCAD / mCAD.doc < prev    next >
Encoding:
Text File  |  1988-03-13  |  15.6 KB  |  363 lines

  1.    mCAD Version 1.2
  2.  
  3.    mCAD is an object-oriented drawing program.  It has a small set of
  4. graphics primitives (like "line", "box", and "text") and a small set of
  5. editing functions (like "move", "size", and "rotate").  While drawing and
  6. editing, the user can call on other functions to modify the display -- to
  7. zoom in, slide around, superimpose a grid, etc. 
  8.  
  9.    The one powerful feature of mCAD is that primitives can be grouped and
  10. ungrouped; the editing functions operate on groups of (one or more)
  11. primitives.  In these instructions, "group" and "object" will mean either a
  12. single primitive or a group of primitives.
  13.  
  14.    Most (surely all!) Amiga users know how to use the mouse to draw pictures. 
  15. In mCAD, the mouse does mostly what you're accustomed to from programs like
  16. GraphiCraft.  There are three differences:
  17.  
  18.    1) In mCAD, you are called on to SELECT objects for treatment with one of
  19. the editing tools.  Since mCAD can't know for which of two or more
  20. overlapping objects your SELECT click was intended, it runs through a list of
  21. all the possibilities, highlighting each in turn.  In this context, the MENU
  22. button means "No, not that one", the SELECT button means "Yes, the
  23. highlighted object is the one I want". 
  24.  
  25.    2) While drawing a primitive (exception: text) or editing a group
  26. (exception: coloring), mCAD gives you a chance to abort the whole operation. 
  27. In this context, the MENU button means "Abort", the SELECT button means "The
  28. highlighted object is drawn as I want it, make it permanent."
  29.  
  30.    3) Certain editing functions, "Size" for example, require additional
  31. information and indicate this by drawing a highlighted object.  You are asked
  32. to click on (SELECT button) e. g., one corner of a box. 
  33.  
  34.    So, generally, when the mouse buttons don't have their Intuition meanings,
  35. the SELECT button means "Yes/ok/do it...", and the MENU button means
  36. "No/abort/get me out of this".  This follows the accepted Amiga convention
  37. that "left" breaks new ground while "right" is conservative and safe.  If you
  38. get lost in -- or called away in the middle of -- a sequence of mouse clicks,
  39. a couple of MENU button clicks will get you out of it. 
  40.  
  41. *********************************************************************
  42. THE COMMAND LINE:  to call up the program
  43. *****************
  44.  
  45. mCAD ?         Help
  46. mCAD filename  Create/Edit a drawing named "filename".  You need not type
  47.                the filename if you intend to load the file from within mCAD.
  48.  
  49.  
  50. *********************************************************************
  51. THE MENU:   menu items that don't work or aren't yet implemented are
  52. described by "*"
  53. *********
  54.  
  55. *************
  56. PROJECT
  57. New         Erases the current drawing.
  58.  
  59. Open        Opens a drawing which exists on disk for viewing and/or editing.
  60.             MicroSmith's file requester is used to specify the file name.
  61.  
  62. Save        Saves the drawing to disk using the current drawing name.  The
  63.             current drawing name is either the name that occurred on the
  64.             command line, or the name of the file most recently "Open"ed.
  65.             The default drawing name is "mCAD.out".
  66.  
  67. SaveAS      Saves the drawing to disk.  MicroSmith's file requester is used
  68.             to specify the file name.
  69.  
  70. Plot        Saves the (entire) drawing as a plot file in the Hewlett Packard
  71.             Graphics Language.  Instructions are included in the file to
  72.             enable XON/XOFF handshaking with the plotter.  To actually make
  73.             the plot, copy the plot file to SER: The plot file name has the
  74.             same root as the current drawing name, and the extension ".plt"
  75.  
  76. Quit        Quits mCAD.  If you have made any changes to the current drawing,
  77.             you will be asked if you want to save it.
  78.  
  79.  
  80. *************
  81. PART
  82.  
  83. Open        Includes an mCAD drawing, which was previously saved to disk, in
  84.             the current drawing.  You will use MicroSmith's file requester to
  85.             specify the part name.
  86.  
  87. Save        Saves a group to disk using the current part name.  Select the
  88.             group you want to save with the mouse as described above.
  89.  
  90. SaveAs      Saves a group to disk by name.  Select the group with the mouse.
  91.  
  92. Group       Draw a box completely enclosing the objects you want treated as
  93.             a group.  An object can only be in one group at a time.  If an
  94.             enclosed object is already part of a group, it will be extracted
  95.             from that group.  If an entire group is enclosed, that group
  96.             will merge into the new group. 
  97.  
  98. UnGroup     Select a group by clicking on any of its members.  On the
  99.             confirming SELECT click, the group will be dismembered.
  100.  
  101.  
  102. *************
  103. OPTIONS
  104.  
  105. Replot      Redraws the screen.  The options "Axes" and "Grid" do not cause a
  106.             replot automatically because redrawing can take a long time, and
  107.             because you may want to make another display selection before
  108.             redrawing. 
  109.  
  110. Zoom        Draw a box around the region you want.  mCAD will zoom in to the
  111.             biggest region consistent with both the box you drew and the
  112.             aspect ratio of the drawing.  Note: in this version the aspect
  113.             ratio cannot be changed by any command. 
  114.  
  115. Slide       Draw a line.  On your second SELECT click mCAD redraws the
  116.             picture as if your first click had grabbed a hold of the page. 
  117.             (mCAD is too slow to move the whole picture along with the mouse
  118.             and memory is too precious to spend on a scrollable screen.)
  119.  
  120. FullPlot    Zooms out to show the whole drawing.
  121.  
  122. Axes        This is a toggle switch that puts axes on the display.
  123.             See Replot.
  124.  
  125. Grid        This is a toggle switch that puts a grid over the display.
  126.             See Replot.
  127.  
  128. X-Hair      This is a toggle switch.  The mouse pointer is replaced by a
  129.             crosshair.  Notice what happens when you press the MENU button
  130.             and move the mouse. 
  131.  
  132. GridSnap    This is a toggle switch.  Primitives (exceptions: text, circle,
  133.             arc) drawn with GridSnap enabled will snap to the grid on your
  134.             *final* SELECT click.  When enabled, menu item reads "GridSNAP". 
  135.  
  136. DataSnap    This is a toggle switch.  Primitives (exceptions: text, circle,
  137.             arc) drawn with DataSnap enabled will snap to previously drawn
  138.             objects (if they are close enough) on your final SELECT click.
  139.             Points are more "attractive" than lines connecting those points.
  140.             When enabled, menu item reads "DataSNAP"
  141.  
  142. nTics*2     Increases the density of tics / grid lines.  A maximum is
  143.             enforced.  This item causes a replot. 
  144.  
  145. nTics/2     Decreases the density of tics / grid lines.  A minimum is
  146.             enforced.  This item causes a replot. 
  147.  
  148. ShowXY      Calls up a numeric readout in the current plot color of the
  149.             pointer position.  The readout is in USER coordinates (the
  150.             numbers which are drawn when you select "Axes" are in USER
  151.             coordinates.) The readout consists of the absolute X
  152.             (horizontal) and Y coordinates and the distances from the
  153.             location of the most recent SELECT click. 
  154.  
  155.  
  156. *************
  157. DRAW
  158.  
  159. Line        Draw a sequence of (one or more) connected lines.  Click twice
  160.             on your final point. 
  161.  
  162. Box         Draw a box by clicking on two corners.
  163.  
  164. Circle      Draw a circle by clicking on the center position, moving the
  165.             mouse to change the size, and clicking again when the size is
  166.             right. 
  167.  
  168. Arc         Draw an arc with three mouse clicks: the first click sets the
  169.             center;  the second click sets the radius and starting angle;
  170.             the third click sets the ending angle. 
  171.  
  172. Measure     *
  173.  
  174. Clone       Select a group by clicking on any of its members.  A duplicate
  175.             will follow the mouse pointer until you press either the MENU
  176.             button ("abort") or the SELECT button. 
  177.  
  178. TextSize    Draw a box indicating the size/aspect of the letters you plan
  179.             to type onto the screen.
  180.  
  181. Cursor      SELECT the location of the text cursor.
  182.  
  183.  
  184. *************
  185. EDIT
  186. In every case, you first select a group for treatment.
  187.  
  188. Erase       SELECT a highlighted group to erase it.
  189.  
  190. Size        SELECT a highlighted group.  mCAD draws the smallest enclosing
  191.             rectangle (possibly a line).  You SELECT a corner of the
  192.             rectangle to begin sizing.  The group is scaled as the mouse
  193.             moves.  Press the SELECT button, when you like what you see, or
  194.             the MENU button to abort. 
  195.  
  196. Move        Select a group by clicking on any of its members.  The group
  197.             will follow the mouse pointer until you press either the MENU
  198.             button ("abort") or the SELECT button. 
  199.  
  200. Rotate      The selected object is rotated about its "center".  Vary the
  201.             angle by moving the mouse and click SELECT to finish or MENU to
  202.             abort. 
  203.  
  204. Rot +90     Select a plot.  The selected plot will be rotated counter-
  205.             clockwise by 90 degrees.
  206.  
  207. Rot -90     Select a plot.  The selected plot will be rotated clockwise by
  208.             90 degrees.
  209.  
  210. Point       Select a group.  When the group you want to modify is
  211.             highlighted, click on the point you would like to move.  The
  212.             point and lines connecting it to adjacent points will follow
  213.             the mouse.  Click SELECT to finish or MENU to abort.
  214.  
  215. Color       Select a group.  The selected group immediately turns to the
  216.             current plot color.  (No chance for abort here.)
  217.  
  218.  
  219. *************
  220. COLORS
  221.  
  222. color boxes    Your menu selection becomes the current plot color.
  223.                Initially, the current color is #4 (first box in second row
  224.                of the palette). 
  225.  
  226. Modify Colors  Call up Microsmith's Palette tool (a very nice tool written
  227.                by Charlie Heath).
  228.  
  229. Save Colors    Save current colors to the file "mCAD.rgb" which is read by
  230.                mCAD on startup. 
  231.  
  232.  
  233. ************************************************************************
  234.  
  235. NEW FEATURES
  236.  
  237. Version 1.2
  238.  
  239.    File input and output from within mCAD has been added.  Thanks to Charlie
  240. Heath and MicroSmith's for the file requester and, while I'm at it, for their
  241. palette tool.  This is the hard stuff, folks.  If I had had to write these
  242. tools myself, you can be sure that they wouldn't be such a pleasure to use,
  243. and that I would be asking for more of a donation than $20.
  244.  
  245.    Point editing has been added.  This feature allows you to move a single
  246. point of a group without affecting other points.
  247.  
  248.    A shortcut for rotating by 90 degrees has been added.  (The original
  249. motive for this was to rotate entire drawings before plotting.)
  250.  
  251.    Several bugs that once caused mCAD to crash have been fixed.  mCAD now
  252. realizes that mouse clicks are being queued up "behind its back" and that
  253. disabling them doesn't erase queued messages.
  254.  
  255.    Groups work right.  In previous versions, the result of grouping objects
  256. that were already in different groups depended on the order in which those
  257. groups had been formed. 
  258.  
  259.    mCAD can now read a file and add the objects in that file to its linked
  260. list of objects.  In other words, the "Parts" menu is fully implemented.  It
  261. may be useful to know that there is no difference, to mCAD, between a "part"
  262. file and a "cad" file.  You can treat a whole drawing as a part and
  263. vice-versa.  You can also use the outputs of the programs "mp" and "tdp" as
  264. parts or as drawings. 
  265.  
  266.    Tab, backspace, and carriage return now do what they say they do.
  267. Backspace does not erase, however.  Also, see "BUGS/WARNINGS...".
  268. ************************************************************************
  269.  
  270. HINTS, SUGGESTIONS ...
  271.  
  272.    mCAD's input file format is very simple.  You can make an mCAD file by
  273. hand or with a simple program in "c", Basic, etc.  In fact, this file can
  274. be used as input to mCAD.  The only lines mCAD will pay attention to are
  275. the following: --------------------------
  276.  
  277. 100 100     This is a box..
  278. 100 200     Note: if you use this file as input to mCAD, DO NOT SAVE!
  279. 200 200     mCAD will cheerfully erase this file, leaving in its place
  280. 200 100     a file consisting only of the numbers to the left.
  281. 100 100
  282. *>          The object above this mark is in a group with the object below it.
  283. *C 4        This object is in color 4
  284.  
  285. 125 150     This is a line..
  286. 175 150
  287. *C 5  
  288.  
  289.       --------------------------
  290.  
  291.    I prefer a "fast" mouse for most programs, but would like a slower one
  292. for doing fine work with mCAD.  I haven't found a way to change the mouse
  293. speed while in the program (any ideas, Amiga gurus?), but an acceptable
  294. substitute is using the Amiga-arrow keys.  You may have forgotten about this
  295. keyboard alternative since it is so rarely useful.  Also, don't forget about
  296. Amiga-alt for mouse buttons.  (Sometimes, I inadvertently move the mouse
  297. while clicking a mouse button.)
  298.  
  299.    Grouping objects (making "parts"):
  300.    Since, in mCAD, the only way to indicate which objects you want in your
  301. group is to draw an enclosing rectangle, you may be having trouble excluding
  302. objects you don't want.  But, because of the way groups are implemented in
  303. mCAD, this is not as bad as you might think.  You don't have to enclose the
  304. whole group at once; two or more rectangles can be used.  If you have two
  305. groups and you make a group containing one member of each, the result will be
  306. a single group containing all the members of both groups.
  307.  
  308.    When X-Hair is not selected, the Intuition pointer is supplemented with a
  309. dot at the current location of the graphics cursor.  (You may know that the
  310. Intuition pointer is implemented in low resolution and therefore cannot, with
  311. precision, select a point on a high resolution screen.  The dot is a remedy
  312. for this.)  To make effective use of it -- indeed, too SEE the dot -- your
  313. pointer should have its "hot spot" on one of the "transparent" pixels.  In
  314. Preferences, use the "Set Point" option while you "Edit Pointer". 
  315.  
  316. ************************************************************************
  317.  
  318. BUGS, WARNINGS, ADDITIONAL NOTES ...
  319.  
  320.    You MUST select a text size and cursor location before typing text into
  321. your drawing.  The defaults aren't done right in this version.  This means
  322. that, if you don't specify the size and location at least once, text will be
  323. put any old where in some arbitrary size -- which, in turn, means that you
  324. can expect a short, one-sided chat with the Guru the next time you select
  325. "FullPlot". 
  326.  
  327.    Letters, in this version, are REALLY primitives; all points are connected
  328. together as though drawn with a single "Line" command.  This means characters
  329. like [ ! = ? : ; " Q ] don't look so good.  (Ok, they look awful!).  Text is
  330. likely to improve in some future version. 
  331.  
  332.    Occasionally, with both the X-Hair and the dot, trash may be left on the
  333. screen after editing a group.  Use "Replot" for now.  (I don't consistently
  334. "pick up" the dot/crosshair before drawing over it.) 
  335.  
  336.    mCAD doesn't do ANY memory checking.  It will crash the system or exit
  337. without returning allocated memory if it finds that there isn't enough memory
  338. to do whatever it wants to do.  In a multi-tasking system with a ram disk,
  339. this is bound to happen to you sooner or later.  This IS going to be fixed!
  340. Until it is fixed, I suggest you save your drawing often and keep an eye on
  341. the amount of ram available.
  342.  
  343.    Tim Mooney
  344.    120 Purefoy Rd.
  345.    Chapel Hill, NC 27514
  346.  
  347.    If you have a modem, you can leave me mail at the following bulletin
  348.    board which I monitor regularly.
  349.  
  350.       "Deep Thought"   (919) 471-6436
  351.  
  352. ------------------------------------------------------------------------
  353.  
  354.    Registered users:
  355.  
  356.    I plan to move sometime in the fall of '87.  When I do, I'll leave a
  357. forwarding address on the bulletin board mentioned above and with:
  358.  
  359.    Department of Physics and Astronomy
  360.    Phillips Hall
  361.    University of North Carolina
  362.    Chapel Hill, NC  27514
  363.